diff options
| author | Adam Soltys <[email protected]> | 2023-01-31 19:56:31 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2023-01-31 19:56:31 -0800 |
| commit | 7f2af99704879018837ccc1d971244dbf6dc12d6 (patch) | |
| tree | 447e4a87e739ba4e53e8f31f6e1883cd54896dde /src/routes/(app)/[username]/settings | |
| parent | c22e33eeb22529c07ac9e701dc87537b2a272f70 (diff) | |
| download | coinos-ui-7f2af99704879018837ccc1d971244dbf6dc12d6.tar.gz coinos-ui-7f2af99704879018837ccc1d971244dbf6dc12d6.zip | |
prettier
Diffstat (limited to 'src/routes/(app)/[username]/settings')
| -rw-r--r-- | src/routes/(app)/[username]/settings/[...tab]/+page.svelte | 4 | ||||
| -rw-r--r-- | src/routes/(app)/[username]/settings/[...tab]/_account.svelte | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/routes/(app)/[username]/settings/[...tab]/+page.svelte b/src/routes/(app)/[username]/settings/[...tab]/+page.svelte index e1555248..1e8b31ce 100644 --- a/src/routes/(app)/[username]/settings/[...tab]/+page.svelte +++ b/src/routes/(app)/[username]/settings/[...tab]/+page.svelte @@ -60,12 +60,12 @@ if ($avatar) { await upload($avatar.file, $avatar.type, $avatar.progress, token); - await fetch(`/api/public/${id}-profile.webp`, {cache: 'reload', mode: 'no-cors'}) + await fetch(`/api/public/${id}-profile.webp`, { cache: 'reload', mode: 'no-cors' }); } if ($banner) { await upload($banner.file, $banner.type, $banner.progress, token); - await fetch(`/api/public/${id}-banner.webp`, {cache: 'reload', mode: 'no-cors'}) + await fetch(`/api/public/${id}-banner.webp`, { cache: 'reload', mode: 'no-cors' }); } let event = { diff --git a/src/routes/(app)/[username]/settings/[...tab]/_account.svelte b/src/routes/(app)/[username]/settings/[...tab]/_account.svelte index c38334ec..0ab11b32 100644 --- a/src/routes/(app)/[username]/settings/[...tab]/_account.svelte +++ b/src/routes/(app)/[username]/settings/[...tab]/_account.svelte @@ -41,7 +41,7 @@ if (file.size > 10000000) return (tooLarge[type] = true); - if(type === 'profile') { + if (type === 'profile') { $avatar = { id, file, type, progress }; } else if (type === 'banner') { $banner = { id, file, type, progress }; |
